package com.lxk.map.gd.config;

import com.dtflys.forest.callback.AddressSource;
import com.dtflys.forest.http.ForestAddress;
import com.dtflys.forest.http.ForestRequest;
import org.springframework.stereotype.Component;

/**
 * @author heyi
 * 2024/8/5
 */
@Component
public class GdAddressSource implements AddressSource {

    @Override
    public ForestAddress getAddress(ForestRequest req) {
      return   new ForestAddress("https", "restapi.amap.com", 443, "v3");
    }
}
